import { createApp } from 'vue';
import App from './App.vue';
import store from './store';
import router from './router/index.ts';
import ElementPlus from "element-plus";

import './assets/css/element-variables.scss';
import './index.css';
import baseurl from '../config.ts';

const app = createApp(App);

app.mixin({
  message: 'mixin',
  data() {
    return {
      count: 100,
    };
  },
  computed: {
  	img_upload() {
  		return baseurl + '/bbs/user/profile/avatar'
  	},
  },
});

app
	.use(ElementPlus)
	.use(router)
	.use(store)
	.mount('#app')
